<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Uber.WebUI.Models.AccountInput>" %>
<%@ Import Namespace="Uber.WebUI" %>
<%@ Import Namespace="Uber.WebUI.Controllers" %>
<div class="efield">
    <div class="elabel">
        <label for="Email">
            Email *:</label>
    </div>
    <div class="einput">
        <%= Html.TextBoxFor(model => model.Email) %>
        <%= Html.ValidationMessageFor(model => model.Email) %>
    </div>
</div>
<div class="efield">
    <div class="elabel">
        <label for="Password">
            Password *:</label>
    </div>
    <div class="einput">
        <%= Html.PasswordFor(model => model.Password) %>
        <%= Html.ValidationMessageFor(model => model.Password) %>
    </div>
</div>
<div class="efield">
    <div class="elabel">
        <label for="ConfirmPassword">
            Confirm Password *:</label>
    </div>
    <div class="einput">
        <%= Html.PasswordFor(o => o.ConfirmPassword) %>
        <%= Html.ValidationMessageFor(model => model.ConfirmPassword) %>
    </div>
</div>
<div class="efield">
    <div class="elabel">
        <label for="recaptcha">
            Security check</label>
        *:
    </div>
    <div class="einput">
        <%= Html.GenerateCaptcha() %><%=Html.ValidationMessage("captcha") %>
    </div>
</div>
<div style="clear: both; padding: 20px;">
    By clicking the button below, I agree to the
    <%=Html.ActionLink<TermsController>(o=> o.Index(), "User Agreement", new {target = "_blank"}) %>
</div>
<div style="margin-left: 200px;">
    <%=Html.SubmitButton("submit", "Agree and create account") %>
</div>
